package com.ctshk.rpc.booking.req.outside.train.save;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 站外火车出行信息旅客类型价格
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data


@ApiModel(value="SupplierOutsideOrderTrainTouristTypeReq对象", description="站外火车出行信息旅客类型价格")
public class SupplierOutsideOrderTrainTouristTypeReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属出行信息ID")
    private Long trainId;

    @ApiModelProperty(value = "所属订单ID")
    private Long orderId;

    @ApiModelProperty(value = "旅客类型ID")
    private Long touristTypeId;

    @ApiModelProperty(value = "旅客类型")
    private String touristType;

    @ApiModelProperty(value = "票数")
    private Integer ticketNum;

    @ApiModelProperty(value = "每张票价")
    private BigDecimal singlePrice;

    @ApiModelProperty(value = "每张税额")
    private BigDecimal taxAmount;

    @ApiModelProperty(value = "其他")
    private String otherRemark;

    @Valid
    @ApiModelProperty(value = "火车票旅客列表")
    private List<SupplierOutsideOrderTrainTouristReq> supplierOutsideOrderTrainTouristReqList;

}
